<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>js示例4-7-4</title>
	<script>
		var mod = new Function("n","k","return (n % k)"); 		//定义函数mod
		alert(mod(12,5));		//调用函数mod
	</script>
</head>
<body>
	
</body>
</html>